﻿using System;
using System.Collections.Generic;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;

namespace SwHelper
{
    public class SW_OBJ : ISW_OBJ
    {
        public SldWorks swapp { get; set; }
        public SW_OBJ(SldWorks _app)
        {
            this.swapp = _app;
        }
        public void SW_OBJ_ask_by_name_and_type(string _name, string _type, out object[] nameOfObjects)
        {
            nameOfObjects = new object[] { };

            ModelDoc2 swmodelDoc = this.swapp.ActiveDoc;
            if (swmodelDoc == null) return;

            if( swmodelDoc.GetType() == (int)swDocumentTypes_e.swDocPART)
            {

            }


        }
    }
}

